package org.jeecg.modules.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: trace_transport
 * @Author: jeecg-boot
 * @Date:   2023-11-21
 * @Version: V1.0
 */
@Data
@TableName("trace_transport")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="trace_transport对象", description="trace_transport")
public class TraceTransport implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**cropsId*/
	@Excel(name = "cropsId", width = 15)
    @ApiModelProperty(value = "cropsId")
    private String cropsId;
	/**司机账号*/
	@Excel(name = "司机账号", width = 15)
    @ApiModelProperty(value = "司机账号")
    private String driverId;
	/**时间*/
	@Excel(name = "时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
    private Date time;
	/**farmerNickName*/
	@Excel(name = "farmerNickName", width = 15)
    @ApiModelProperty(value = "farmerNickName")
    private String farmerNickName;
	/**农户账号*/
	@Excel(name = "农户账号", width = 15)
    @ApiModelProperty(value = "农户账号")
    private String farmerUserName;
	/**farmerTel*/
	@Excel(name = "farmerTel", width = 15)
    @ApiModelProperty(value = "farmerTel")
    private String farmerTel;
	/**farmerDept*/
	@Excel(name = "farmerDept", width = 15)
    @ApiModelProperty(value = "farmerDept")
    private String farmerDept;
	/**工厂ID*/
	@Excel(name = "工厂ID", width = 15)
    @ApiModelProperty(value = "工厂ID")
    private Integer factoryId;
	/**运输状态（0，未运输，1，正在运输，2，运输完成）*/
	@Excel(name = "运输状态（0，未运输，1，正在运输，2，运输完成）", width = 15)
    @ApiModelProperty(value = "运输状态（0，未运输，1，正在运输，2，运输完成）")
    private Integer status;
	/**0已入库 1已出库*/
	@Excel(name = "0已入库 1已出库", width = 15)
    @ApiModelProperty(value = "0已入库 1已出库")
    private Integer outFactoryStatus;
	/**零售商签收状态*/
	@Excel(name = "零售商签收状态", width = 15)
    @ApiModelProperty(value = "零售商签收状态")
    private Integer retailerReceiveStatus;
	/**remarks*/
	@Excel(name = "remarks", width = 15)
    @ApiModelProperty(value = "remarks")
    private String remarks;
}
